package com.webbei.Backstage.action;

import java.util.List;

import com.webbei.Backstage.service.BackstateSer;
import com.webbei.pojo.Advertisement;

public class GetAllAdvertismentAction {
	private BackstateSer bao;
	private List<Advertisement> adv;
	public String execute(){
		adv=bao.getAllAdvertisment();
		System.out.println(adv);
		return "success";
	}
	public void setBao(BackstateSer bao) {
		this.bao = bao;
	}
	public List<Advertisement> getAdv() {
		return adv;
	}
	public void setAdv(List<Advertisement> adv) {
		this.adv = adv;
	}
	
}
